<?php
use_stylesheet('show.css');
use_helper('toolsbar');
slot('Toolsbar');
   echo setToolbar('show','subcontract',$subcontract);
end_slot();

slot('PageTitle',$subcontract->getName());
slot('Title',$subcontract->getName());
?>


<table id="show">
  <tbody>
    <tr>
      <th>Plant:</th>
      <td><?php echo $subcontract->getPlant() ?></td>
    </tr>
    <tr>
      <th>Supplier:</th>
      <td><?php echo $subcontract->getSupplier() ?></td>
    </tr>
    <tr>
      <th>Type:</th>
      <td><?php echo $subcontract->getType() ?></td>
    </tr>
    <tr>
      <th>Fee:</th>
      <td ><?php echo is_null($subcontract->getFee())?"-":$subcontract->getFee()." €" ?> </td>
    </tr>
    <tr>
      <th>Start:</th>
      <td><?php echo $subcontract->getStart() ?></td>
    </tr>
    <tr>
      <th>End:</th>
      <td><?php echo $subcontract->getEnd() ?></td>
    </tr>
    <tr>
      <th>Note:</th>
      <td><?php echo $subcontract->getNote() ?></td>
    </tr>
    <tr>
      <th>Status:</th>
      <td><?php echo $subcontract->getStatus() ?></td>
    </tr>
    <tr>
      <th>Payments:</th>
      <td><?php echo $subcontract->getPayments() ?></td>
    </tr>
  </tbody>
</table>
